package com.xunk.common.core.domain;

import com.xunk.common.core.utils.StringUtils;

import java.io.Serializable;
import java.util.Map;

/**
 * @ProjectName: xunk
 * @Package: com.xunk.equipment.vo.response
 * @ClassName: EquipmentRespone
 * @Author: yangwendong
 * @Description:
 * @Date: 2021/4/1 13:24
 * @Version: 1.0
 */
public class EquipmentResponse implements Serializable {

    private String deviceSn;

    private String deviceType;
    /**
     *  设备名称
     */
    private String deviceName;
    /**
     *  房间id
     */
    private String roomNum;
    /**
     *  mac地址
     */
    private String mac = "-";
    /**
     *  固件版本
     */
    private String firmWare = "-";
    /**
     *  型号
     */
    private String model = "-";
    /**
     *  序列号
     */
    private String serialNumber = "-";

    private String supplier;

    // 临时加的，后面删除
    private Boolean online;

    public Boolean getOnline() {
        return online;
    }

    public void setOnline(Boolean online) {
        this.online = online;
    }

    private Map<String,Object> candidateModel;

    public Map<String,Object> getCandidateModel() {
        return candidateModel;
    }

    public void setCandidateModel(Map<String,Object> candidateModel) {
        this.candidateModel = candidateModel;
    }

    public String getSupplier() {
        return supplier;
    }

    public void setSupplier(String supplier) {
        this.supplier = supplier;
    }

    public String getDeviceType() {
        return deviceType;
    }

    public void setDeviceType(String deviceType) {
        this.deviceType = deviceType;
    }

    public String getDeviceSn() {
        return deviceSn;
    }

    public void setDeviceSn(String deviceSn) {
        this.deviceSn = deviceSn;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public String getRoomNum() {
        return roomNum;
    }

    public void setRoomNum(String roomNum) {
        this.roomNum = roomNum;
    }

    public String getMac() {
        return mac;
    }

    public void setMac(String mac) {
        this.mac = StringUtils.isEmpty(mac) ? "-" : mac;
    }

    public String getFirmWare() {
        return firmWare;
    }

    public void setFirmWare(String firmWare) {
        this.firmWare = StringUtils.isEmpty(firmWare) ? "-" : firmWare;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = StringUtils.isEmpty(model) ? "-" : model;
    }

    public String getSerialNumber() {
        return serialNumber;
    }

    public void setSerialNumber(String serialNumber) {
        this.serialNumber = StringUtils.isEmpty(serialNumber) ? "-" : serialNumber;
    }
}
